
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-bofang"></i>
                    <div class="name">播放</div>
                    <div class="fontclass">.icon-bofang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dianhua"></i>
                    <div class="name">电话</div>
                    <div class="fontclass">.icon-dianhua</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dianhua1"></i>
                    <div class="name">电话</div>
                    <div class="fontclass">.icon-dianhua1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bofang1"></i>
                    <div class="name">播放</div>
                    <div class="fontclass">.icon-bofang1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dianhua2"></i>
                    <div class="name">电话</div>
                    <div class="fontclass">.icon-dianhua2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-mangluim"></i>
                    <div class="name">忙碌-im</div>
                    <div class="fontclass">.icon-mangluim</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guaji"></i>
                    <div class="name">挂机</div>
                    <div class="fontclass">.icon-guaji</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dianhua3"></i>
                    <div class="name">电话</div>
                    <div class="fontclass">.icon-dianhua3</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-hujiaozhuanyitianchong"></i>
                    <div class="name">呼叫转移_填充</div>
                    <div class="fontclass">.icon-hujiaozhuanyitianchong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dianhua4"></i>
                    <div class="name">电话</div>
                    <div class="fontclass">.icon-dianhua4</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-hujiaozhuanyi"></i>
                    <div class="name">呼叫转移</div>
                    <div class="fontclass">.icon-hujiaozhuanyi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-baochi1"></i>
                    <div class="name">保持</div>
                    <div class="fontclass">.icon-baochi1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kongxian"></i>
                    <div class="name">空闲</div>
                    <div class="fontclass">.icon-kongxian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kongxian1"></i>
                    <div class="name">空闲</div>
                    <div class="fontclass">.icon-kongxian1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-baochitonghua"></i>
                    <div class="name">保持通话</div>
                    <div class="fontclass">.icon-baochitonghua</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dianhua5"></i>
                    <div class="name">电话</div>
                    <div class="fontclass">.icon-dianhua5</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bohao"></i>
                    <div class="name">拨号</div>
                    <div class="fontclass">.icon-bohao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-hujiaozhuanyi1"></i>
                    <div class="name">呼叫转移</div>
                    <div class="fontclass">.icon-hujiaozhuanyi1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tonghuabaochi-copy"></i>
                    <div class="name">通话保持</div>
                    <div class="fontclass">.icon-tonghuabaochi-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dianhua-copy"></i>
                    <div class="name">电话</div>
                    <div class="fontclass">.icon-dianhua-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhuangtai"></i>
                    <div class="name">状态</div>
                    <div class="fontclass">.icon-zhuangtai</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-manglu"></i>
                    <div class="name">忙碌</div>
                    <div class="fontclass">.icon-manglu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tonghuabaochi-copy1"></i>
                    <div class="name">通话保持</div>
                    <div class="fontclass">.icon-tonghuabaochi-copy1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-off"></i>
                    <div class="name">状态</div>
                    <div class="fontclass">.icon-off</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-error"></i>
                    <div class="name">状态</div>
                    <div class="fontclass">.icon-error</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-normal"></i>
                    <div class="name">状态</div>
                    <div class="fontclass">.icon-normal</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guaji1"></i>
                    <div class="name">挂机</div>
                    <div class="fontclass">.icon-guaji1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-hujiaozhuanyi-shixin"></i>
                    <div class="name">呼叫转移-实心</div>
                    <div class="fontclass">.icon-hujiaozhuanyi-shixin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qianru-shixin"></i>
                    <div class="name">签入-实心</div>
                    <div class="fontclass">.icon-qianru-shixin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qianchu-shixin"></i>
                    <div class="name">签出-实心</div>
                    <div class="fontclass">.icon-qianchu-shixin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shixian-shixin"></i>
                    <div class="name">示闲-实心</div>
                    <div class="fontclass">.icon-shixian-shixin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guaji-shixin"></i>
                    <div class="name">挂机-实心</div>
                    <div class="fontclass">.icon-guaji-shixin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shimang-shixin"></i>
                    <div class="name">示忙-实心</div>
                    <div class="fontclass">.icon-shimang-shixin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhuangtai1"></i>
                    <div class="name">状态</div>
                    <div class="fontclass">.icon-zhuangtai1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhuangtai11"></i>
                    <div class="name">状态</div>
                    <div class="fontclass">.icon-zhuangtai11</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-baochi"></i>
                    <div class="name">保持</div>
                    <div class="fontclass">.icon-baochi</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
